package mainDataManager;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

//import static javafx.scene.input.KeyCode.L;

/**
 * Created by kk on 2017/8/17.
 * 班组管理实体类
 */
public class BanZuManager extends Model<BanZuManager>{

    private static final Long serialVersionUID = 123456789456789678L;

    public static final BanZuManager dao = new BanZuManager();
    /**
     * 查询所有的班组
     * */
    public List<BanZuManager> getListBanZu(){
        //更改测试，获取班组集合
        List<BanZuManager> list = dao.find("select * from bzgl");
        return list;
    }

}
